Click or drag to resize

SipClientSubscribe Method (ContactInfo, ContactInfo, String, Int32)

Subscribes in order to receiving notifications about a particular event specified with the event name.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse Subscribe(
	ContactInfo from,
	ContactInfo to,
	string eventName,
	int expires
)

Parameters

from
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and display name of the subscriber.
to
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the recipient.
eventName
Type: SystemString
A string contains name of the event.
expires
Type: SystemInt32
A number of seconds indicates duration of the subscription.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
See Also